package com.thesis.manage.domain;

import com.thesis.manage.common.entity.AbstractBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author php
 * @date 2018/1/18
 */
@EqualsAndHashCode(callSuper = true)
@Table(name = "major")
@Data
public class Major extends AbstractBaseEntity implements Serializable {
    /**
     * 专业名称
     */
    private String name;
    /**
     * 备注
     */
    private String remark;
    /**
     * 院系id
     */
    private Long collegeId;
    /**
     * 院系名称
     */
    private String collegeName;

}
